home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / mac / Technical Documentation / Develop / develop Issue 20 / develop Issue 20 code / Scripting the Finder.sea / Scripting the Finder / Finder Snapshot / MacUtilities.h / MacUtilities.h
Encoding:
C/C++ Source or Header  |  1994-10-05  |  547 b   |  25 lines  |  [TEXT/MMCC]

  1. #ifndef __MACUTILITIES__
  2. #define __MACUTILITIES__
  3.  
  4. /*
  5. // Prototypes for MacUtilities.c
  6. */
  7. short        PtrLooksValid( Ptr thePtr );
  8. short        PtrValid( Ptr thePtr );
  9.  
  10. short        TheModifiers( void );
  11. Boolean        OptionKeyIsDown( void );
  12. Boolean        CommandKeyIsDown( void );
  13. Boolean        ShiftKeyIsDown( void );
  14.  
  15. void        RgnToGlobal( RgnHandle aRegion );
  16. void        RgnToLocal( RgnHandle aRegion );
  17. void        RectToGlobal(Rect* aRect);
  18. void        RectToLocal(Rect* aRect);
  19.  
  20. void        GetGlobalWindowLocation(WindowPtr window, Rect* windowRect);
  21.  
  22. void        ChangeCursor( short cursID );
  23.  
  24. #endif
  25.